var postStartDel = true;
function del(t) {
    if(postStartDel) {
        postStartDel = false;
        var that = $(t),
            pid = that.attr('data-pid');
        $.ajax({
            type: "POST",
            url: "/request-conv/index.php?m=MyProduct&a=del",
            dataType: 'json',
            data: {
                "pu_id": pid
            },
            success: function (result) {
                postStartDel = true;
                if (result.Code == 200) {
                    that.parents('.MyProduct_Item').remove();
                } else {
                    var alt = CommonJs.alert.show({
                        model: 'error',
                        content: result.erMsg
                    });
                }
            },
            error:function () {
                postStartDel = true;
            }
        });
    }
}